from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import (
    ExerciseSetViewSet, ExerciseViewSet,
    UserExerciseRecordViewSet, UserExerciseSetProgressViewSet
)

router = DefaultRouter()
router.register(r'exercise-sets', ExerciseSetViewSet)
router.register(r'exercises', ExerciseViewSet)
router.register(r'records', UserExerciseRecordViewSet)
router.register(r'progress', UserExerciseSetProgressViewSet)

urlpatterns = [
    path('', include(router.urls)),
] 